<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
  <%@taglib uri="/struts-tags" prefix="s"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Edit Score</title>
<link rel="stylesheet" href="<s:url value="/css/bootstrap.css"/>">
<link rel="stylesheet" href="<s:url value="/css/bootstrap-theme.css"/>">
</head>
<body>
<div class="navbar navbar-inverse">
        <div class="container">
          <div class="navbar-header">
            <a class="navbar-brand" href="#">Bóng đá</a>
          </div>
          <div class="navbar-collapse collapse">
            <ul class="nav navbar-nav">
              <li><a href="register">Quản lý đội bóng</a></li>
              <li><a href="danhsach">Danh sách đội bóng</a></li>
              <li><a href="hienthi">Lịch thi đấu</a></li>
              <li><a href="ketqua">Rank</a></li>
            </ul>
          </div><!--/.nav-collapse -->
        </div>
      </div>
      
      <div class="panel panel-primary" style="margin-left: 10%;margin-right: 10%">
            <div class="panel-heading">
              <h3 class="panel-title">Sửa điểm</h3>
            </div>
            <div class="panel-body">
            <s:form action="updateScore">
            <table class="table table-hover">
            
            <tr>
            	<td>Mã trận đấu:</td>
            	
            	<td>
            	<input class="form-control"  type="hidden" value="${result.getResultId()}" name="resultID" >
            	<input class="form-control" id="disabledInput" type="text" value="${result.getResultId()}"disabled></td>
            </tr>
            <tr>
            	<td>Mã đội 1:</td>
            	<td><input class="form-control" id="disabledInput" type="text" value="${result.getTeam1().getNameTeam()}" disabled></td>
            </tr>
            <tr>
            	<td>Mã đội 2:</td>
            	<td><input class="form-control" id="disabledInput" type="text" value="${result.getTeam2().getNameTeam()}" disabled></td>
            </tr>
            <tr>
            	<td>Điểm đội 1</td>
            	<td><input class="form-control" type="text" value="${result.getScore1()}" name="score1"></td>
            </tr>
             <tr>
            	<td>Điểm đội 2</td>
            	<td><input class="form-control" id="focusedInput"type="text" value="${result.getScore2()}" name="score2"></td>
            </tr>
            <tr>
            </table>
		<s:submit></s:submit>
	</s:form>
            </div>
          </div>
	
</body>
</html>